package com.icangya.DAO;

import com.icangya.domain.GoodsUpgradeRecord;

import java.util.List;

public interface IGoodsUpgradeRecordDAO extends IBaseDAO<GoodsUpgradeRecord> {


    /**
     * 获取用户所有历史升级记录
     * @param uid
     * @return
     */
    List<GoodsUpgradeRecord> getGoodsUpgradeByUserId(long uid);

    /**
     * 获取用户所有历史升级记录并且分页
     * @param uid
     * @return
     */
    List<Object> getGoodsUpgradeByUserIdPaging(long uid , Integer pageNum);
}
